projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9781dc4
)
Use the correct background color when filling nested <divs>
author
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Feb 2016 11:21:11 +0000
(22:21 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Mon, 29 Feb 2016 11:21:30 +0000
(22:21 +1100)
* lisp/net/shr.el (shr-face-background): Return the first
background, because that's the one that's visible (bug#22680).
Backport:
(cherry picked from commit
cad0bc70558f9c28c808711c5295dec9fc5ad6e5
)
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index b36dd56f09cb36c6ab771d23b631b46c2d74ca50..e943132533368d93b36babd1ae131a787d58cc4f 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1791,7
+1791,8
@@
The preference is a float determined from `shr-prefer-media-type'."
(let ((background nil))
(dolist (elem face)
(when (and (consp elem)
- (eq (car elem) :background))
+ (eq (car elem) :background)
+ (not background))
(setq background (cadr elem))))
(and background
(list :background background))))))